//
//  YZCommunityVC.m
//  VET
//
//  Created by Lam BG on 2018/6/25.
//  Copyright © 2018年 YZ. All rights reserved.
//

#import "YZCommunityVC.h"
#import "YZMainNavigationController.h"

@interface YZCommunityVC ()

@property (nonatomic, strong) UIBarButtonItem *item;
@end

@implementation YZCommunityVC

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = kColorWithHex(0xFFFFFF);
    // Do any additional setup after loading the view from its nib.
}


- (IBAction)testClick:(id)sender {
    
//    [self pushTest];
    self.item = [[UIBarButtonItem alloc] initWithTitle:@"取消" style:UIBarButtonItemStylePlain target:nil action:nil];
    UIViewController *vc = [NSClassFromString(@"YZPublishCommunityVC") new];
    self.navigationItem.backBarButtonItem = self.item;
    [self.navigationController pushViewController:vc animated:YES];
}

@end
